package com.gupao.jly521.decorator.service.impl;

import com.gupao.jly521.decorator.bean.Member;
import com.gupao.jly521.decorator.bean.ResultMsg;
import com.gupao.jly521.decorator.service.ISignService;

/**
 * @author Jly
 * @date 2018/9/4  9:07
 */
public class SignServiceImpl implements ISignService {

    public ResultMsg login(String name, String pwd){
        return new ResultMsg(0,"登陆成功",new Member(name,pwd));
    }

    public ResultMsg regist(String name,String pwd){
        return new ResultMsg(0,"注册成功",new Member(name,pwd));
    }
}
